Image

AllCoding

AllCoding is a free learning coding for free.


Image

Introduction to JavaScript Programming

May 15, 2021 posted by Junior Kian Chong

JavaScript, often abbreviated as JS, is a high-level, interpreted programming language. It is a language which is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm. JavaScript was developed by Brendan Eich in 1995. Although it was developed under the name Mocha, the language was officially called LiveScript when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript. JavaScript is the programming language of HTML and the Web. Alongside HTML and CSS, JavaScript is one of the three core technologies of the World Wide Web. JavaScript enables interactive web pages and thus is an essential part of web applications. The vast majority of websites use it, and all major web browsers have a dedicated JavaScript engine to execute it.

Image

Why Study JavaScript?

JavaScript is one of the 3 languages all web developers must learn:

1. HTML to define the Content of web pages

2. CSS to specify the layout of web pages

3. JavaScript to program the behavior of web pages

In todays time JavaScript has evolved a lot and diversified into many other domains. For example –


--- Node.JS: Used in server side programming. Node.JS is complete framework for server side development


--- React : is a front-end library developed by Facebook. Using React JS you can create web as well as mobile applications.


--- React Native : is a JavaScript framework for writing real, natively rendering mobile applications for iOS and Android.


--- AngularJS : is a JavaScript MVC framework to develop a dynamic web application. Started by google but its open source.


--- ElectronJS : is a framework used t build cross platform desktop apps with JavaScript, HTML, and CSS.


--- React VR : Used to create real world Virtual Reality experiences and applications.


--- Tensorflow.JS : Tensorflow is an open source machine learning framework for everyone. A JavaScript library for training and deploying ML models in the browser and on Node.js


Advantages of JavaScript –

The merits of using JavaScript are −



Less server interaction −
You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server.



Immediate feedback to the visitors −
They don’t have to wait for a page reload to see if they have forgotten to enter something.



Increased interactivity −
You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.



Richer interfaces −
You can use JavaScript to include such items as drag-and-drop components and sliders to give a Rich Interface to your site visitors.


All these cool features about JavaScript makes it one of the most popular and diversified programming languages of todays time and hence if you are a beginner you should definitely start with JavaScript from scratch so that later you can study the other advanced frameworks.

Coding . JavaScript